package com.shenyong.entity;

import com.shenyong.ladmin.entity.Level;

/**
 * Create By:qiang
 * Date: 2019/11/25 15:48
 * 文件说明: Users
 */
public class Users {
    private int user_id;// 用户编号
    private String user_username;// 用户姓名
    private String user_nickname;// 用户网名
    private String user_password;// 用户密码
    private String user_sex;// 用户性别
    private String user_userBirthday;// 用户生日
    private String user_registerData;// 用户注册日期
    private String user_phoneNumber;// 用户手机号
    private String user_qq;// 用户QQ号
    private String user_weixin;// 用户微信
    private int user_enabled;// 用户是否启用
    private String user_email;// 用户邮箱
    private String user_userface;// 用户头像
    private int user_score;// 用户积分
    private int user_levelId;// 用户等级编号 外键
    private String user_signature;// 用户签名
    private Level userLevel;// 用户等级
    private int user_role;
    public Users() {
    }

    public Users(int user_id, String user_username, String user_nickname, String user_password, String user_sex, String user_userBirthday, String user_registerData, String user_phoneNumber, String user_qq, String user_weixin, int user_enabled, String user_email, String user_userface, int user_score, int user_levelId, String user_signature, Level userLevelm, int user_role) {
        this.user_id = user_id;
        this.user_username = user_username;
        this.user_nickname = user_nickname;
        this.user_password = user_password;
        this.user_sex = user_sex;
        this.user_userBirthday = user_userBirthday;
        this.user_registerData = user_registerData;
        this.user_phoneNumber = user_phoneNumber;
        this.user_qq = user_qq;
        this.user_weixin = user_weixin;
        this.user_enabled = user_enabled;
        this.user_email = user_email;
        this.user_userface = user_userface;
        this.user_score = user_score;
        this.user_levelId = user_levelId;
        this.user_signature = user_signature;
        this.userLevel = userLevel;
        this.user_role=user_role;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUser_username() {
        return user_username;
    }

    public void setUser_username(String user_username) {
        this.user_username = user_username;
    }

    public String getUser_nickname() {
        return user_nickname;
    }

    public void setUser_nickname(String user_nickname) {
        this.user_nickname = user_nickname;
    }

    public String getUser_password() {
        return user_password;
    }

    public void setUser_password(String user_password) {
        this.user_password = user_password;
    }

    public String getUser_sex() {
        return user_sex;
    }

    public void setUser_sex(String user_sex) {
        this.user_sex = user_sex;
    }

    public String getUser_userBirthday() {
        return user_userBirthday;
    }

    public void setUser_userBirthday(String user_userBirthday) {
        this.user_userBirthday = user_userBirthday;
    }

    public String getUser_registerData() {
        return user_registerData;
    }

    public void setUser_registerData(String user_registerData) {
        this.user_registerData = user_registerData;
    }

    public String getUser_phoneNumber() {
        return user_phoneNumber;
    }

    public void setUser_phoneNumber(String user_phoneNumber) {
        this.user_phoneNumber = user_phoneNumber;
    }

    public String getUser_qq() {
        return user_qq;
    }

    public void setUser_qq(String user_qq) {
        this.user_qq = user_qq;
    }

    public String getUser_weixin() {
        return user_weixin;
    }

    public void setUser_weixin(String user_weixin) {
        this.user_weixin = user_weixin;
    }

    public int getUser_enabled() {
        return user_enabled;
    }

    public void setUser_enabled(int user_enabled) {
        this.user_enabled = user_enabled;
    }

    public String getUser_email() {
        return user_email;
    }

    public void setUser_email(String user_email) {
        this.user_email = user_email;
    }

    public String getUser_userface() {
        return user_userface;
    }

    public void setUser_userface(String user_userface) {
        this.user_userface = user_userface;
    }

    public int getUser_score() {
        return user_score;
    }

    public void setUser_score(int user_score) {
        this.user_score = user_score;
    }

    public int getUser_levelId() {
        return user_levelId;
    }

    public void setUser_levelId(int user_levelId) {
        this.user_levelId = user_levelId;
    }

    public String getUser_signature() {
        return user_signature;
    }

    public void setUser_signature(String user_signature) {
        this.user_signature = user_signature;
    }

    public Level getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(Level user_role) {
        this.userLevel = userLevel;
    }
    public int getUser_role() {
        return user_role;
    }

    public void setUser_role(Level user_role) {
        this.userLevel = user_role;
    }

    @Override
    public String toString() {
        return "Users{" +
                "user_id=" + user_id +
                ", user_username='" + user_username + '\'' +
                ", user_nickname='" + user_nickname + '\'' +
                ", user_password='" + user_password + '\'' +
                ", user_sex='" + user_sex + '\'' +
                ", user_userBirthday='" + user_userBirthday + '\'' +
                ", user_registerData='" + user_registerData + '\'' +
                ", user_phoneNumber='" + user_phoneNumber + '\'' +
                ", user_qq='" + user_qq + '\'' +
                ", user_weixin='" + user_weixin + '\'' +
                ", user_enabled='" + user_enabled + '\'' +
                ", user_email='" + user_email + '\'' +
                ", user_userface='" + user_userface + '\'' +
                ", user_score=" + user_score +
                ", user_levelId=" + user_levelId +
                ", user_signature='" + user_signature + '\'' +
                ", userLevel=" + userLevel +
                 ", user_role=" + user_role +
                '}';
    }
}
